package com.ruoyi.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 领料清单明细对象 wksp_material_list_detail
 * 
 * @author ruoyi
 * @date 2024-06-13
 */
public class WkspMaterialListDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 领料清单id */
    @Excel(name = "领料清单id")
    private Long mldId;

    /** 车间任务id */
    @Excel(name = "车间任务id")
    private Long sptkId;

    /** 车间任务编号 */
    @Excel(name = "车间任务编号")
    private String sptkSn;

    /** 物料id */
    @Excel(name = "物料id")
    private Long matId;

    /** 物料编号 */
    private String matSn;

    /** 物料名称 */
    private String matName;


    /** 需领料数量 */
    @Excel(name = "需领料数量")
    private Long num;

    /** 已领料数量 */
    @Excel(name = "已领料数量")
    private Long renum;

    /** 库存可领料数量 */
    private Long leftNum;

    /** 库房id */
    @Excel(name = "库房id")
    private Long strmId;

    /** 库房名称 */
    private String strmName;

    /** 供应商id */
    @Excel(name = "供应商id")
    private Long supplierId;

    /** 供应商名称 */
    private String supplierName;

    /** 临时数量 */
    private Long tempNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMldId(Long mldId) 
    {
        this.mldId = mldId;
    }

    public Long getMldId() 
    {
        return mldId;
    }
    public void setSptkId(Long sptkId) 
    {
        this.sptkId = sptkId;
    }

    public Long getSptkId() 
    {
        return sptkId;
    }
    public void setSptkSn(String sptkSn) 
    {
        this.sptkSn = sptkSn;
    }

    public String getSptkSn() 
    {
        return sptkSn;
    }
    public void setMatId(Long matId) 
    {
        this.matId = matId;
    }

    public Long getMatId() 
    {
        return matId;
    }

    public String getMatSn() {
        return matSn;
    }

    public void setMatSn(String matSn) {
        this.matSn = matSn;
    }

    public String getMatName() {
        return matName;
    }

    public void setMatName(String matName) {
        this.matName = matName;
    }

    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }

    public void setRenum(Long renum)
    {
        this.renum = renum;
    }

    public Long getRenum()
    {
        return renum;
    }

    public Long getLeftNum() {
        return leftNum;
    }

    public void setLeftNum(Long leftNum) {
        this.leftNum = leftNum;
    }

    public void setStrmId(Long strmId) 
    {
        this.strmId = strmId;
    }

    public Long getStrmId() 
    {
        return strmId;
    }

    public String getStrmName() {
        return strmName;
    }

    public void setStrmName(String strmName) {
        this.strmName = strmName;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public void setSupplierId(Long supplierId)
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }

    public Long getTempNum() {
        return tempNum;
    }

    public void setTempNum(Long tempNum) {
        this.tempNum = tempNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mldId", getMldId())
            .append("sptkId", getSptkId())
            .append("sptkSn", getSptkSn())
            .append("matId", getMatId())
            .append("num", getNum())
            .append("renum", getRenum())
            .append("strmId", getStrmId())
            .append("supplierId", getSupplierId())
            .toString();
    }
}
